<!DOCTYPE html>
<!-- manifest="/header.appcache" -->
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>订单结算</title>
</head>
<script src="../../js/edition.js"></script>
<link rel="stylesheet" href="../../css/base.css">
<script>
        document.write("<l"+"ink rel='stylesheet' href='../../css/cart.css?version="+edition+"'>")
</script>
<script>
        document.write("<l"+"ink rel='stylesheet' href='../../css/style.css?version="+edition+"'>")
</script>
<link rel="stylesheet" href="../../css/popover.css">
<script>
        document.write("<l"+"ink rel='stylesheet' href='../../css/index.css?version="+edition+"'>")
</script>
<script src="../../js/jquery.js"></script>
<script src="../../js/template.js"></script>
<script> 
        document.write("<s"+"cript type='text/javascript' src='../../js/url.js?version="+edition+"'></scr"+"ipt>"); 
</script>
<script> 
        document.write("<s"+"cript type='text/javascript' src='../../js/cart.js?version="+edition+"'></scr"+"ipt>"); 
</script>
<script src="../../js/popover.js"></script>
<script src="../../js/jquery.cookie.js"></script>
<script src="../../js/header.js"></script>
<script>
    $(function(){
        var src=$('.mod_logo img').attr('src')
        $('.mod_logo img').attr('src','../'+src)
    })   
</script>
<script> 
    document.write("<s"+"cript type='text/javascript' src='../../js/nav_hover.js?version="+edition+"'></scr"+"ipt>"); 
</script>
<script src="../../js/index_foot.js"></script>
<script>
    $(function(){
        $('.foot_list').each(function(){
            var i=$(this).find('img').attr('src')
            $(this).find('img').attr('src','../../'+i)
        })
    })
</script>
<script> 
        document.write("<s"+"cript type='text/javascript' src='../../js/login.js?version="+edition+"'></scr"+"ipt>"); 
</script>
<script src="../../js/cookie.js"></script>
<script> 
        document.write("<s"+"cript type='text/javascript' src='../../js/setArea.js?version="+edition+"'></scr"+"ipt>"); 
</script>
<script> 
        document.write("<s"+"cript type='text/javascript' src='../../js/pay_commit.js?version="+edition+"'></scr"+"ipt>"); 
</script>

<style>
    .site_bg dd input[type='button'] {font-size: 16px;width: 100px;height: 36px;background: #3385ff;color: #ffffff;border-radius: 4px;border: #3385ff solid 1px;margin-left: 80px;cursor: pointer;}
    .site_bg1 {
    background: url(../img/base/icon_icon.png) center center no-repeat;
    height: 394px;
    margin-top: -200px;
}
</style>
<body style="background:#fff">
   
<header class="mod_head">
 
</header>

    <div class="cart_bg">
        <div class="cart_tit">
            <ul>
                <li class="active_01">
                    <em>1</em>我的购物车
                </li>
                <li class="active" style="margin-left:111px">
                    <em>2</em>结算
                </li>
                <li style="margin-left:122px">
                    <em>3</em>完成
                </li>
            </ul>
            <div class="jindu"></div>
        </div>
        <!-- 无收获地址 -->
        <div class="site_list site_list_no" style="display:none">
            <h2>收货地址选择</h2>
            <p>您暂未设置收货地址！</p>
            <a class="add_site add_address">新增收货地址</a>
        </div>

<!-- 选择收货地址 -->
        <div class="site_list address_wrap  site_list_list" style="display:none">
            <h2>
                收货地址选择
            <em class="fr add_site add_address">新增地址</em>    
            <em class="fr more">更多地址</em>
            </h2>  
            <ul>

            </ul>    
        </div>
        <div class="site_from">
        <div class="cart_num"  style="width:1130px; margin:10px auto">
            <h2>全部商品<i>(</i><em>0件</em><i>)</i></h2>
        </div>
        <div class="cart_list" id="clearing">
            <dl>
                <dt style="width:1130px; margin:auto">
                    <ul>
                        <!-- <li class="one"><input type="checkbox" class="checkbox_all" name="" id="checkbox">全选</li> -->
                        <li class="two">商品</li>
                        <li class="three">单价</li>
                        <li class="four">数量</li>
                        <li class="five">总价</li>
                        <li class="seven">总重</li>
                        <li class="six">优惠</li>
                    </ul>                    
                </dt>
            </dl>

        </div>
    </div>
    <div class="site_from">
        <div class="cart_num"  style="width:1130px; margin:10px auto 0 auto;">
            <h2>订单备注</h2>
            <p><input class="remark" type="text" id="message" name="message" placeholder="限50个字（定制类服务需在备注中详细说明或联系客服）"></p>
        </div>
    </div>
    <div class="add_up">
        <div class="cart_num"  style="width:1130px; margin:10px auto 0 auto;">
            <h2>订单合计</h2>
        </div>
        <ul>
            <li>
                <em>推荐人账号：</em>
                <span>
                        <input type="text" placeholder="填写推荐人可获得积分">
                </span>
                                
            </li>
            <li>
                <em>企业会员优惠：</em>
                <span>
                        -￥<i>0.00</i>
                </span>
               
            </li>
            <li>
                <em>
                        运费：
                </em>
                <span class="store1">
                        ￥<i></i>
                </span>
                
            </li>
            <li class="pay_bg" style="display:none">
                <em>支付方式选择：</em>
                <span>
                    <a class="active"><img src="../../img/site/site_z.png" alt="" srcset=""></a>
                    <a><img src="../../img/site/site_w.png" alt="" srcset=""></a>
                </span>

            </li>
            <li class="last">
                <span>您正处在一个安全的支付环境中，请放心付款</span>
            </li>
        </ul>
    </div>
    <div class="pay_speci">
        <ul>
            <li>
                    共<i class="g_num">0</i>件商品，合计<i class="unitPrice">￥0.00</i>
            </li>
            <li>
                    寄送至：<em></em>
            </li>
        </ul>
    </div>
    <div class="pay_ok">
            <input class="fr" type="submit" id="pay_ok" value="提交订单">    
            <a href="javascript:;" target="_blank" class="fr" id="pay_cart">返回购物车</a>
    </div>   
    </div>
    <footer class="mod_foot"></footer> 
</body>
<script type="text/html" id="clearing_bg1">
    {{for(var i=0; i<list.length; i++) { }}
    <dl class='dl_bg' data-storefreeFreight="{{=list[i].storefreeFreight}}">
        {{=list[i].name}}
    </dl>
    {{ } }}
</script>
<script type="text/html" id="clearing_bg">
    {{for (var i=0; i<list.length; i++) { }}
    <dd style="width:1130px; margin:20px auto 0 auto" data-isFreeFreight='{{=list[i].isFreeFreight}}' data-totalWeight="{{=list[i].totalWeight}}">
        <ul>
            <li class="two">
                <a href="http://www.saxmy.top/src/goods/goods_detail.html?goodsId={{=list[i].goodsId}}">
                    <p class="cart_img fl">
                        <img src="{{=list[i].image}}" alt="" srcset="">
                    </p>
                    <p class="cart_text">{{=list[i].name}}</p>
                    <p class="speci">
                        <em>规格：{{=list[i].goodsSpec}}</em>    
                    </p>  
                </a>      
            </li>
            <li class="three">
                    ￥<em>{{=list[i].unitPrice}}</em>
            </li>
            <li class="four">
                <div class="sum_bg" style="line-height:42px;">
                        {{=list[i].buyNum}}
                </div>
            </li>
            <li class="five">
                    ￥<em>{{=list[i].totalPrice}}</em>
            </li>
            <li class="seven seven_text">
                <em>{{=list[i].totalWeight}}</em>
            </li>
            <li class="six">
                暂无
            </li>
        </ul>
    </dd>
    {{ } }}
</script>
<script id="address" type="text/html">
    {{ for(var i = 0; i < addressList.length; i++) { }}
        <li data-addres-id="{{=addressList[i].addressId}}">
            <p class="address_tit name_lin name_title">
                <span class="address_name fl">{{=addressList[i].addressee}}</span>
                <span class="address_phone fr">{{=addressList[i].phone}}</span>
            </p>
            <p class="address_info bor_b" data-area-info="{{=addressList[i].areaInfo}}" data-address="{{=addressList[i].address}}">
                {{=addressList[i].areaInfo}}   {{=addressList[i].address}}
            </p>
            <p class="address_bottom name_lin name_foot">
                <span class="fl address_set_default" data-isDefault="{{=addressList[i].isDefault}}" data-addres-id="{{=addressList[i].addressId}}">
                        {{=addressList[i].isDefaultTxt}}
                </span>
                <span class="fr">
                    <em class="edit_address" data-provinceId="{{=addressList[i].provinceId}}" data-cityId="{{=addressList[i].cityId}}" data-areaId="{{=addressList[i].areaId}}">编辑</em>
                    <em class="delete_address">删除</em>
                </span>
            </p>
        </li>
    {{ } }}
</script>
<!-- <script type="text/html" id="address">
    {{for (var t=0; t<addressList.length; t++) { }}
    <li>
        <p class="name_lin name_title">
            <span class="fl">{{=addressList[t].name}}</span>
            <span class="fr">{{=addressList[t].phone}}</span>
        </p>
        <p class="bor_b"data-area-info="{{=addressList[t].areaInfo}}" data-address="{{=addressList[t].address}}">
                {{=addressList[t].areaInfo}}   {{=addressList[t].address}}
        </p>
        <p class="name_lin name_foot">
                <span class="fl">
                        设为默认地址
                </span>
                <span class="fr">
                    <em>编辑</em>
                    <em>删除</em>
                </span>
        </p>
    </li>
    {{ } }}
</script> -->
<script>
    $(function(){
        $('.more').click(function(){
			window.location.href='/src/member/member_address.html' 
        });
    });
</script>
<script> 
    document.write("<s"+"cript type='text/javascript' src='../../js/popover_binding.js?version="+edition+"'></scr"+"ipt>"); 
</script>
<script> 
    $(function(){
        ajax_form()
    }); 
</script>
<script>
    $(function(){
        var w_h=$(window).height();
        $('.cart_bg').css('min-height',(w_h-297)+'px');
        // 底部小图标路径修改
        $('.foot_list>img').each(function(){
            var src = $(this).attr('src');
            $(this).attr('src','../../'+src);
        });
        // 底部链接修改
        $('.footer_ul a').each(function(){
            var newHref = $(this).attr('href');
            if(newHref!='javascript:;'){
                $(this).attr('href','..'+newHref);
            }
        });
    });
</script>
</html>

